package com.bml.architect.spring.convert.jdk;

import com.bml.architect.spring.service.User;

/**
 * jdk自带的类型转换测试
 */
public class ConverTest {
    public static void main(String[] args) {

        StringToUserPropertyEditor st = new StringToUserPropertyEditor();
        st.setAsText("bmladmin");
        User value = (User) st.getValue();
        System.out.println(value);

    }
}
